package com.jr.vo;

import java.util.Date;
import java.util.Objects;

public class BlackEnter {
    private Integer id;
    private  String entername;
    private  String phone;
    private  String username;
    private  String email;
    private  String reason;
    private Date updatedate;



    public BlackEnter(Integer id, String entername, String phone, String username, String email, String reason, Date updatedate) {
        this.id = id;
        this.entername = entername;
        this.phone = phone;
        this.username = username;
        this.email = email;
        this.reason = reason;
        this.updatedate = updatedate;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        BlackEnter that = (BlackEnter) o;
        return Objects.equals(id, that.id) &&
                Objects.equals(entername, that.entername) &&
                Objects.equals(phone, that.phone) &&
                Objects.equals(username, that.username) &&
                Objects.equals(email, that.email) &&
                Objects.equals(reason, that.reason) &&
                Objects.equals(updatedate, that.updatedate);
    }

    @Override
    public int hashCode() {
        return Objects.hash(id, entername, phone, username, email, reason, updatedate);
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getEntername() {
        return entername;
    }

    public void setEntername(String entername) {
        this.entername = entername;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public Date getUpdatedate() {
        return updatedate;
    }

    public void setUpdatedate(Date updatedate) {
        this.updatedate = updatedate;
    }

    public BlackEnter() {
    }

}
